<ui:composition template="/templates/master.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

	<ui:define name="corpo-da-pagina">
		<h:form>
			<p:dataGrid var="pele" value="#{layoutMB.lista}" columns="4"
				rows="12" paginator="true">
				<p:column>
					<p:panel header="#{pele.nomeThema}">
						<h:panelGrid columns="1">
							<p:graphicImage value="/res/midias/#{pele.nomeArquivo}" />
							<p:commandLink value="Visualizar" ajax="false">
								<f:setPropertyActionListener value="#{pele.nomeThema}"
									target="#{layoutMB.theme}" />
							</p:commandLink>
						</h:panelGrid>
					</p:panel>
				</p:column>
			</p:dataGrid>
		</h:form>
	</ui:define>
</ui:composition>






